package com.ftg.learn.comm.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;
import lombok.Data;

/**
 * <p>
 * 用户角色中间表
 * </p>
 *
 * @author kangjx
 * @since 2022-09-30
 */
@TableName("sys_user_role")
@Data
public class UserRole extends BaseEntity {

    /**
     * 用户主键
     */
    @TableField("u_id")
    private Integer uid;

    /**
     * 角色主键
     */
    @TableField("r_id")
    private Integer rid;

}
